check for begin