backup; attempting to fix matrix