Fixed code with Captain B, so it wouldn't reset