removed need to pass url to template