writing w3c poi in the api