error display and ensure times are integers