Update key.cpp

added cr