refined view and added flatui