some debug for confirming that the program works