1. application distribution flow