UI app logic implementation