last line was skipped
add layers to template
added