halfway through implementing planes