typos rectified lifecycle => life cycle