static array fixes (still not working)