make checkPerigee method private and call it on setPerigee