nearly there with python point generation.