initial code of the application