Still working on unit test.There are a lot of bugs.