rename var $method