added return value (bool) for autoload function