first application stage