Initial matrix code