Rename makeList2 to makeList
move utility functions outside of invocation