fixing program.exercises being an array