formatting the list