call the mapping functionality from the server functionality