removed commented code and added comment