using template method through sandbox