application stages