we should usually avoid the use of getService() unless there is an explicit null test on the client side