Heeded code style advice from a friend of mine