matching 1 to rest