refactored plane spec