add goal and neighbours