correctly call 'each'; improve pserver console