list created and printing