people as middleware