pulling neighboring_points out of her
tweaked template to work on other systems