style guide naming and error handling