almost done compiling errors