scaled second template, minor comments added