then I realized I didnt have a 3d matrix