integration of mode