correct apikey method