[core] move a method