switchover to lifecycle