with new core apis