template initial setup