calcuated result and send result to server
combine the plugs