fixed more syntax and name spellings, this now compiles and runs somewhat