added flat UI controller