fail instead of raise as per style guide