added debugging useing #