comperator controller