learn to build a list