finished testing & debuging