added outside neighbors method