working on key creation