now with arrays and views