this is why I shouldnt have templates