added subclass statements to abstract syntax