adds the functionality of the app