test out with two polymorphic classes