test results  works. some bugs fixed