adding formatting from list.php's ideas