debug method is no longer broken