3way partition