remove some functions for integration