modify build_tasklists method