ui and pause