application class improved