A more advanced form of CCTV utilizing DVR provides recording for possibly many years, with a variety of quality and performance options and extra features (motion detection and email alerts). More recently, decentralized IP cameras, equipped with megapixel sensors, support recording directly to network-attached storage devices, or internal flash for stand-alone operation.