Replace explicit values with variables