Clean code and add loop to print items.