Change inputs to seconds