Initial version of the client side