Added template.java