making factory syntax less cumbersome, more concise