Simplifying (pivot) function, it now uses 'all?' by default
adding message context to (pivot) for easier readability