I'm not sure why you pass in three separate parameters here. Can we use one object instead? It would make it more flexible and cleaner.