added date type support