added basic template layout