displaying the modes calleld back