keymapping for replace as prototype