Fixed broken code; now compiles