Duration calculation and toString methods finished