putting comments in the right place