ironing out templating with select tags