Changed End Time to Duration