greatbook index-mrms and lottery cookies example