done with debug