prepare applications