Added anonymous function for MB pen rate.
Also added variable to record the answer & setup console.log