splitting off robot api