modified listcontroller