build with partial