adding way to input date