Small adjustment to receive pattern match