fixed compile errors. Gonna start over soon