compiles, but only on eclipse