second example now behaves the same as the first