integrating soft/hard mode