solving erros caused by method's names change