register almost work