Removed useless lines in the code.