trying to start command loop, compilation errors