working on key config