thoughtbot style guide fixes for private method