add routing for sending responses and analzing results