Added some theory on neighborhoods