tested the client side