implement client tracking