adding build pattern