trying to get variables into the template