template and testing done