implemented list filling