added debug print.