started working on ui code