misc-func is not needed anymore.