replaced condition