changed Question.code from string to list