swift -> coo