abstracted out addition of apikey param