Finished function syntax checker, without debug