better determination of if publishing is working