changing format to get lists correct