Setting up resource method done