added trees class