Added getTopic method. Refactored one var name