Added array to scope