at least compiles, now debugging