removed redundant begin block