simplify OnKeyAdded