[utils/misc] helper functions/classes