added debugs