update list.join example to work correctly