added server interface, will send 1 or 0