changed signature of application class to avoid strict standard notices