Nick Fishbane's utility functions