code for all classes except Stuff and Thing