changed contdition for template