Finally plastic material is either cast or molded around the lead frame-shield. This material is designed to filter out visible and UV light while passing infrared light to the photo diode. The receiver is then tested, packaged and shipped to the customer.