Moved dev of this design from gist