got auto-loading to work