takes out previous implementation for api keys