now compiles, still not working