refactored results panel