added more debugs