finishes basic api