Removing unnecessary lines from code..