How does an ATES system work?