fixed UI and started to learn and write test.