Added class list function