shouldnt be in template