account for fraction of a year