Implemented hideOrbit function