answer and some code questions