added ability to grade up arrays