increment decrement logic and basic ui