location matrix done