API documentation
invalidate callback