added list as a class