added debuggin