Added in functionality to detect semi colons