change method name in string and values of const