Temp Functions for refactoring ctPlane