Call to end gain of function