code change for full key range