replaced strings with variable