edited shark client with simple sql queries