added a bit of comments