before application class