Figured out the jump table concept, finally