finished csv formatting