integ [added catch for null pointer if there is no service]