added debugger, cant catch bug