new version with a shorter tail