pass objects in for later use