with list class