added lives class.