added prototype of class parser