save def to schema for future use