scaffold out polymorphic primitive factory functions