each newkey at begin = 0