rearrange methods in Resource