view flexibility example