successfully removed templates dependency