closes #2 - added support for date type