added validation, default value for date...