added specs for private and public topics