modified the template code to raise less coding standard alarms