source: added some plane functionality