This version compiles but does not work.