This is ugly. Why the number of params can be different from 5 and it is not an error? Are there defaults being used? A comment is in order.