minor change to life cycle methods