data displayed on ui

not the cleanest code but functional