setting up the application