got replace working