changes in template and removed print statmt