added getblockhash method