added formatting to listURL function