var functions can't be accessed from other python code so isn't needed to convent the vars with one underscore

_map ->  map
_id -> id

etc...