answerDetail is now generated dynamically rather than being hard coded