Use pattern guards