commented map code