compiles under 0.5.0, doesn't work