Add a new duration method