removed redundant pattern