Added final map code.