add date selector.