set up resources