close #1 using scanner no more null pointers in list