rearranging resources class