make keyName a const; check key is on server