Added new key functionality