code edited in accordance with Google C++ Style Guide