finish template and example