refactored comments view stuff