rnewboo: shamelessly based off of this gem