added lifecycle plugin