now hold point data in global dictionary rather than list