A routine to set CY Flag added