How to... use ATS to manage a lifecycle