refactor plane spec