started working on the client side