implemented get planes and get chains