added comments and remove useless line