added debugline ( UNTESTED )