added guards to comment and answers. added comments