NEED TO FIX THIS TO OUTPUT MULTI-DIM RESULTS