remittances logic