code now compiles but hangs