updated console.log messages. Having issue with getInstruction function.