to do the flex view 3