removed templates outer