removed redundant codes
removed redundant codes