add method each() for Collection