added some work on the js array problem. still wont work. I dont know if I should continue working on this and skip 3 all together or atleast try it