added comments about code