improve how coin is caculated
improve how coin is caculated