Fixed

now compiles and runs