removing trial code from template