debug print modififcations