Dynamic client reg code snippet...