example build pattern