commented debug method