added comments and a bit of tags