added continuous (pseudocontinuous) mode