Added basic plane functionality