added in replace trext button