oh `return_details` would be more Pythonistic here