wrote unit tests for lives and performance bar
removed redundant lines