trying to debug calculate function - not able to pick up on the value of all services from calculateSum function