first working version of phenotype_attempts