src code for the app