adding an autoload system