rearranges methods