setting up application