added debugging info - may no longer work