lab2 terceira questao, preparing the application