array fixed
deleted space and edited console.log