tweaks to test argwhere, far from being succesffull...)