partial app to build function