add sketch for the petri api