added more debug information