now all dates input correctly