api/basics: more formatting