add nested applications