added some comments after talking with ian about stuff