got the layer arg to be a list so we can get getMultiple