load resources v 2.0(not tested)