[*] refactoring and sharp client