making zero a valid key (0,0)