removed redundant blocks