Adding preferred date lookup functionality.