code and some of the questions