Charge trapping mechanism