give replace a simultaneous option