makes autoload a bit more flexible