templates extended