couldn't get z axis to sum up properly