change key getting method