removed .each from client