can handle multiple objects