somewhat working callable key function