added begin stage for commandHandling