adding debug print.