Is there any chance that x.contact can be null?