checking gateway, removing zmq code because have to move to Josh's dispatcher