V1 to be tested [fixed some debug output]