added support for receiving Date values