added comments and done adding

just describe code more in detail