adding debug lines