small changes in template