now supports from and to for date specification