added OutputLayTpl method
new method OutputLay