reordering methods in resource class