adding early versions of tail fit bias study code