Added lastBusMaint function