made 'checkGrounded()' private