mutation of user defined functions