Added end_time attribute