extra error checking 7 - fix syntax 3