commenting over the code and removal of unused lines