if key is set