added return to grammar