added api-key to function call?