add coinbase snippet