working syntax checker