refactor sublist