switched to single method to set up resources