changed functionality of public messages