modifying backendtemplate to pass program line counter, not working at
the moment.