moved req/rep into messages assembly