Prof- check flag implemented