removing unneeded begin statement