adding tf listener which (maybe) works