my previous check for a semi-colon didn't allow for whitespace, now it does