improved status code