fixed not using the each '$coin' var to check data