improved point-mutation code