adding couple of comments for readability