adding functionality to the app