adding debug abilities