repell and contain methods