wrote grammar for level 1