Cleaned up publishresults() for coherence