just have to fix arrays