Removed synatix errors, still will be logic errors in it. compiles ok.