renamed gamma to lookup map