made a prototype for dumpclass