Added coinbase code