Comments

Comments added and remove unnecessary functions