adding gems from tutorial @mherman.org