Why not passing in a criteria object? It's much more flexible