no more cerrs, compiles, but runs bad