replaced string with variable