Cleaned up the output of list