mu: split up the utility functions.