API to implement