Added code to draw planes