more elegant time construction and arithmetic