get rid of inference service, just use broadcast receiver