removed unnecessary template creation method