created a subclass of poopobject