full automatic mapping