Added the replacement method of [