implemented LMap