using template, and add background