we can put the subclass object in a map that declared to hold the supper class object