it's like reverse connect.js control flow