Implemented key creation