number lives is now a global variable