added coins, refactor contacts