adding code s=for simple line emitter