re-implemented date widget