justBetweenSameType