fixing semi-colon errors