creating only if polymorphic is set