added simple retire function