rearrange methods state object