process all objects in input instead of first one