updated to new coin-shared and coin-master