move logic from SDK to 42-cent + refund