Added interface for testing integral