API converted. Now, to find errors