fixed a lot of errors, plenty more to go