semi working version has some problem finding the right answer