working on input-date