debugging. almost compiles now.