added number crunching functionality to the app