added old indexed way to load models