changed back to array of apikeys 2