rearrange method order