Use service to perform calculations