comments

add in comments and take away unnecessary codes