utility functions for personal use at LISA and beyond