adding a few utility functions,   updates to mu