exercise 7 - used center method on listing output