removed some unnecessary lines from the code