cleaned up the code by removing useless comments