Utils for integration