updated the array declaration... and added a reference for $