array (reinventing the wheel)