Code compiles and runs! ( but not running the right thing... )