csv variables, nicer code