Shamelessly gray code