changed how workoutlist and exerciselist is returned