try to pass key argument as part of the callback function