begin partion template