removed the need for custom application class