changes key factory