adding debug information