Mapping dots to proper location.