added toggling of {} and map to call function that unmaps ';'