finished the calcx method & debuged the test