Added debug code (testing only)