Added part of a "lives" system. removed some wasted code