modified template and test