function init segregate list
edit comment