changing autoload to multifunction