changing key reference