Inspired by @chillsitch.