removed redundant lines