didn't understand how vars worked in erb now i do!