added more debugging outout