template and style work