try-catch block added.
HasTable used to store clients by category.