better contact check