handling multiple topics