starting to add logging to clients