only ui is not done && some of bugs