added template layout