processing several objects