changed template layout