added Trail class