trades now work on client side