Minor typo fix & code-golfing exercise