flagged erroneous code