added user input, required date class