Removed redundant line in code