use main application