working initial matrix loader