learning how gems work, argh