NEW: User-defined AUTOLOAD function