removed begin block