added plane computaiton