lifecycle management example