created method which sums same day hours