removed redundant block