added support for date parameters