next key is last used + 1