code for our app