added model helper for creating models