using .join(", ") to add comma and space between material items
if statement updates: if length is greater than 0, display it