changed splat from list to array since it's parameters