added debugging example