extra error checking 4 - stupid error yet again