While loop added plus cohort input