added debug information