Added Life cycle Example