delivered the opinion of the court:
Following a jury trial, defendant Leslie Williams was found guilty of murder and armed robbery. He was sentenced to a term of 40 years for murder and seven years for armed robbery, the sentences to run concurrently. Codefendant Robert Weatherly was tried simultaneously in a bench trial and found not guilty. The issues raised on appeal are: (1) whether defendant was denied a fair trial when the State showed the life and death witness murder scene photographs of his sister which elicited an emotional reaction in the presence of the jury; (2) whether the trial judge’s hostility toward defense counsel prejudiced the jury against defendant’s case; (3) whether the rebuttal testimony of the fingerprint examiner was improper and prejudicial to defendant; (4) whether the State failed to prove defendant’s guilt beyond a reasonable doubt; and (5) whether defendant’s 40-year sentence was excessive.
Edward Triplett testified for the State that he was the brother of the victim, Overzenia Torry. He last spoke with the victim on the evening of November 29, 1986. When he was unable to contact her by telephone throughout the next day, he went to her apartment, which was located at 7756 South Michigan Avenue in Chicago. When Triplett arrived at the apartment, he found the door unlocked. Inside the apartment he found his sister lying in the doorway between the dining room and bathroom covered with dried blood. She was not breathing, and there was a knife which was partially under her body. Triplett also noted that the telephone was off the hook and that the apartment was in disarray. On further inspection, he determined that two television sets, stereo equipment, jewelry and money were missing. Triplett was then shown a series of photographs of the victim as well as the condition of the apartment after the incident. When Triplett saw the first photograph, he replied “Oh my God.” He then identified the photograph as that of his sister. At this point, defense counsel requested that the court order the State to stipulate that the witness could identify his sister in the photographs. Defense counsel acknowledged that he had been shown the photographs but stated that he had not made a previous offer to stipulate because he did not know that the State would show the photographs to this witness. The *714court denied defense counsel’s request, finding it untimely. The court also stated that it could not order either party to stipulate to anything. Triplett viewed the remainder of the photographs and stated that they accurately reflected the scene of the crime as he saw it on November 30, 1986. Defense counsel did not cross-examine the witness, but counsel for codefendant did cross-examine him in the presence of the jury.
Mary Lou Paul testified that her apartment was located across the hall from the victim. On the evening of November 29, 1986, some time after 11 p.m., Paul stated that she heard a door bell ring. She then heard a male voice say the words “Frances,” “son” and “New York.” The door closed and she heard nothing else.
Denise Saunders testified that she lived on the first floor of the same building and that her apartment was directly below that of the victim. On November 29, 1986, she arrived home at around 10:30 p.m. Shortly thereafter, a man rang the bell of her apartment and asked for “Zek” (victim’s nickname). She told him that no one by that name lived in the apartment. Saunders further testified that around one hour later, a friend of hers named Pamela Haynes knocked on her door. When she opened the door for Haynes she saw a man dressed in jeans, a jacket and hat proceed up the stairs. About 30 minutes later, Saunders stated that she heard a loud noise which appeared to come from the apartment directly above her.
Pamela Haynes testified that when she arrived at the entrance of the building she saw a man coming down the inside stair way. Both he and another man who was in the hallway opened the door for her. She stated that she detected the odor of alcohol as she walked past them. As Haynes walked up to Saunders’ apartment, one of the men came up the stairs behind her and continued up to the second floor. She stated that he was wearing a black jacket and a cap. While she was in Saunders’ apartment, she heard fighting and then a loud noise in the apartment directly above her.
Bertha Robinson testified that she was the owner of the Pink Lady Lounge on 79th Street in Chicago. She stated that the victim had worked for her in 1970, and that a Frances Williams was also employed by her during the same time period. She further stated that Frances Williams had a son named Leslie. At around 7:30 p.m. on November 29, 1986, defendant arrived at the lounge with a man Robinson could not identify. Robinson stated that defendant was at the lounge at 9:30 p.m. when she left but was not there when she returned at 3 a.m.
*715Detective George Karl testified that on November 30, 1986, he was assigned to investigate the victim’s murder. When he arrived at the scene of the crime, he found the victim lying face up on the floor. There was a sash-type cord around her neck and multiple stab wounds to her neck. After speaking with some of the residents of the building, Karl looked in the victim’s personal phone book for the name of Frances’ son. He found two listings for Frances Williams. One was listed as living in Calumet City, and one was listed at 8041 South State Street in Chicago. Around this time, Sergeant Jones arrived. He stated that he had not been assigned to the case but was a personal friend of the victim. He informed Karl that the victim had worked with a Frances Williams at the Pink Lady Lounge. Karl then went to Calumet City, interviewed Frances Williams and determined that she had three sons, Leslie, Lavane and Eugene, but did not know where they were at that time. Several days later, Karl received a radio communication that defendant was at the police station with Sergeant Jones. Karl arrived at the station, and he and Detectives Ryan, Plenta and Pesavento spoke with defendant. Defendant told the officers that he went to the victim’s apartment building with Robert Weatherly. While Weatherly waited in the car, defendant went up to the apartment to try to sell the victim telephone answering equipment. During this conversation, defendant referred to the victim as “Zekee.” After this conversation, defendant again spoke to Sergeant Jones for several minutes. Defendant then had a second conversation with the other officers and made the statement “I would not kill that woman, she was like a mother to me.” He then told the officers that when he knocked on the door of the victim’s apartment, a female Puerto Rican opened the door. In the apartment, there were also two male Puerto Ricans standing by the victim who was lying on the floor. One of the men was holding a shotgun. He pointed the gun at defendant and threatened to shoot him if defendant told anyone what he saw. After this conversation, defendant was arrested and charged with the victim’s murder.
Murial Eason testified that in November and December 1986, defendant lived with her and her two children at 3565 South Princeton in Chicago. She stated that on November 30, 1986, defendant returned home sometime in the morning. Several police officers searched Eason’s home on December 2, 1986. They also asked if defendant lived there and if any of his clothing was in the apartment. Eason gave them a sweater, shirt and trousers which she identified in court. However, she was unable to identify a hat the State presented to her as one that defendant wore. Eason also stated that she did not *716know whether the clothing taken from her apartment was what defendant was wearing when he returned to the apartment on November 30,1986.
Detective Angelo Pesavento testified that he was present during a conversation between Eason and the prosecutor one week prior to the trial, and that he heard Eason say that defendant was wearing the clothing recovered by the police when he came home on the morning of November 30,1990.
Pamela Fish testified as an expert in the field of serology and electrophoresis. The subject matter of her testimony was blood samples taken from defendant, the knife found near the victim’s body and from the dining room floor of the victim’s apartment. She stated that, based on her analysis, the sample of blood from defendant was different than the sample from the dining room floor. The sample from the weapon was also different from defendant’s sample but consistent with the blood on the dining room floor. Fish then testified that she found a bloodstain on the inside lining of the left pocket of the pair of trousers belonging to defendant. She stated that the bloodstain was different than the sample from defendant but consistent with the sample from the dining room floor.
The forensic pathologist testified that the victim died from multiple stab wounds in the face and neck area.
Sergeant Walter Jones testified that he spoke with defendant’s mother and asked her to have her son Leslie give himself up. On December 5, 1986, defendant contacted him and agreed to go to the police station with him. When defendant was riding to the station with Jones, he denied going to the victim’s apartment on November 29 or 30, 1986. However, when Jones had a private conversation with defendant at the police station, defendant first stated that some Puerto Ricans with shotguns had killed the victim and threatened defendant because he owed them money. When Jones responded that this sounded like “bullshit” to him, defendant started crying, dropped his head in his hands and said “I didn’t mean to do it. She was like a mother to me.” On cross-examination, Jones acknowledged that this conversation was not in any police reports.
The photographs of the scene of the crime, defendant’s clothing and the blood samples were then admitted into evidence.
The only witness to testify for the defense was Officer Phillip Montalbano, a latent fingerprint examiner. He compared the fingerprints and palm prints of defendant with those found at the scene of the crime. His conclusion was that defendant’s prints were different than those found at the scene. On cross-examination, he stated that *717whether touching will leave a print is dependant on the amount of sweat secreted, the smoothness and temperature of the surface, and whether the person is wearing gloves.
In rebuttal, the State offered the testimony of Officer Thomas Gimley, a latent fingerprint examiner, who stated that no prints were found on the knife found near the victim’s body. Defense counsel objected to the rebuttal evidence.
Defendant contends that he was denied a fair trial when the State showed the life and death witness photographs of the murder scene because the witness’ reaction focused the jury’s attention on sympathy for the victim, as opposed to evaluating the evidence of defendant’s guilt. The victim’s brother, Edward Triplett, was called by the State as a life and death witness. He testified to the events leading up to and including his discovery of his sister’s body. At that point, the State showed Triplett a photograph of his sister’s body at the scene of the crime, and he responded “Oh my God. This is my sister.” At this point, defense counsel offered to stipulate that the witness could identify his sister from the photographs so that he would be spared any undue grief. However, the State did not accept defense counsel’s offer, and the court stated that it could not force the State to make the stipulation. Triplett then identified the remaining photographs as those of his sister’s body and the murder scene as he saw it on November 30, 1986. In response to this question by the State, Triplett replied “Yes. I’ll never forget it.” In arguing this issue, defendant does not claim that the admission of the photographs was error, but that the error was committed when the State showed them to the victim’s brother which elicited an emotional reaction in front of the jury.
The State is permitted to introduce full proof of the crime charged in the indictment and to call life and death witnesses to identify the victim and the fact of her death. (People v. Bost (1980), 80 Ill. App. 3d 933, 952, 400 N.E.2d 734.) When such proof is offered through relatives, caution must be taken that there not be undue emphasis on the fact that the victim left a surviving family. (Bost, 80 Ill. App. 3d at 953.) However, the fact that the witness is a close relative who breaks down on the stand is not a basis for reversal. Bost, 80 Ill. App. 3d at 952.
In this case, Triplett’s testimony was relevant to the State’s case because he found the victim’s body after she was murdered, and he testified as to the location and condition of the victim’s body as well as the scene of the crime. Furthermore, the photographs he identified as accurately depicting the scene and the victim as he found *718them on November 30, 1986, were also relevant as further evidence of the murder scene. Additionally, unlike the witness in Bost, Triplett did not break down on the stand but only made the initial comment “Oh my God” when he saw the first photograph.
Defendant’s argument that he made a timely objection to showing the witness the photographs is also without merit. Defendant saw the photographs prior to trial and did not determine at that time how they would be introduced by the State. Defendant also did not object to the admission of the photographs at the trial but asked the judge to order the State to stipulate as to the content of the photographs rather than show the remaining ones to the witness. People v. Starks (1983), 116 Ill. App. 3d 384, 451 N.E.2d 1298, cited by defendant in support of his argument is factually distinguishable because, in that case, the family members’ testimony was not relevant to the State’s proof of its case.
For the aforementioned reasons, we conclude that no error was committed by allowing the life and death witness to identify photographs of the victim’s body and scene of the crime.
Defendant next contends that the trial judge’s hostility toward defense counsel prejudiced the jury against his case. In all criminal prosecutions, the accused person is entitled to a fair and impartial trial by a jury. (People v. Velasco (1989), 184 Ill. App. 3d 618, 640, 540 N.E.2d 521; People v. Heidorn (1983), 114 Ill. App. 3d 933, 936, 449 N.E.2d 568.) While the trial judge has wide discretion in the conduct of a trial, he must not interject opinions or comments reflecting prejudice against or favor toward any party. (Velasco, 184 Ill. App. 3d at 640; Heidorn, 114 Ill. App. 3d at 936.) This is particularly true in a jury trial, where jurors are watchful of the judge’s conduct, and the court must exercise a high degree of care to avoid influencing the jury. Velasco, 184 Ill. App. 3d at 640; People v. Sprinkle (1963), 27 Ill. 2d 398, 403, 189 N.E.2d 295.
Improper comments include those which reflect disbelief in the testimony of defense witnesses, confidence in-the credibility of the prosecution witnesses or an assumption of defendant’s guilt. In addition, a hostile attitude toward defense counsel or remarks that defense counsel has presented his case in an improper manner may also be prejudicial and erroneous. (Heidorn, 114 Ill. App. 3d at 937.) However, for comments by the trial judge to constitute reversible error, the defendant must show that the remarks were prejudicial and that he or she was harmed by them. (Velasco, 184 Ill. App. 3d at 640; Heidorn, 114 Ill. App. 3d at 937.) Where it appears that the comments do not constitute - a material factor in' the conviction, or that *719prejudice to the defendant is not the probable result, the verdict will not be disturbed. (People v. Parker (1976), 40 Ill. App. 3d 597, 605, 352 N.E.2d 394.) Thus, remarks which are improper may also be harmless error. “[I]n each case an evaluation of the effect upon the jury of a trial court’s interjections must be made in the light of the evidence, the context in which they were made and the circumstances surrounding the trial.” People v. DeBerry (1966), 72 Ill. App. 2d 279, 285, 219 N.E.2d 701. See also People v. Freeman (1989), 182 Ill. App. 3d 731, 734, 538 N.E.2d 681; People v. Wofford (1987), 156 Ill. App. 3d 238, 243-44, 509 N.E.2d 1026.
In this case, defendant quotes two conversations in which the trial judge made improper comments to defense counsel in the presence of the jury. The first set of comments were made during defendant’s cross-examination of defendant’s girlfriend. Defense counsel was in the process of questioning the witness regarding when she had signed the consent to search form as follows:
“Q. So, they didn’t ask you to sign this when they first got to your apartment, did they?
A. No.
Q. Before they came in and tore your apartment apart looking for things — ”
At this point the State objected, but defense counsel continued questioning the witness as follows:
“Q. (Continuing) — they didn’t didn’t [sic] ask to [sic] you sign this consent to search form?”
The trial judge then proceeded to admonish defense counsel as follows:
“I asked you earlier, and I’m not asking you anymore, I’m telling you, when there’s an objection, counsel, stop talking, you understand that?”
After making several comments to defense counsel outside the presence of the jury, the jury was returned to the courtroom and the trial judge addressed the jury as follows:
“Ladies and gentlemen, the objection of the last question is sustained.
The question was unprofessional in its character. I’m sure it was unintended by counsel. He has been admonished by the Court, and I’m sure that kind of thing will not happen again.”
The other comments quoted by defendant were made during defense counsel’s cross-examination of Sergeant Jones.
*720“Q. And per Judge Durkin’s order you then went into the jury room and continued the conversation that you and I had started, is that not correct?
A. I don’t know about the judge’s order, but I was asked by State’s Attorney Kopec to come here to have an interview with you.
Q. Mr. Kopec didn’t tell you that the judge ordered that you come to — ”
The trial judge then admonished defense counsel as follows:
“Ladies and gentlemen — counsel, that question is most unprofessional. I hereby admonish you and tell you to desist, to stop that area.”
The trial judge then made several comments to the jury explaining the discovery process in a criminal case and then stated:
“The fact that I may have issued a discovery order prior to trial has nothing to do with your determination of the case, and it is unfair to have that.
I hereby instruct you to disregard any implication that is contained in that question.
Counsel, you are admonished to cease in that area.”
We find in both conversations that it was improper for the trial judge to comment in the presence of the jury on defense counsel’s unprofessional conduct, particularly where he had already admonished counsel on that very issue outside the presence of the jury. Nevertheless, we find the comments neither prejudicial nor a material factor in defendant’s conviction in view of the strong evidence of defendant’s guilt. As a result, the trial judge’s comments did not constitute reversible error.
At the trial, Pamela Fish testified as an expert in the field of serology and electrophoresis. She stated that, “within a reasonable degree of scientific certainty,” the blood sample from the floor of the victim’s apartment was consistent with the sample from the knife found near her body, but that both samples were inconsistent with the sample taken from defendant or co-defendant. She further testified that she analyzed the blood from a stain found on the inside pocket lining of a pair of trousers belonging to defendant. Fish then stated that, “within a reasonable degree of scientific certainty,” the blood found on the inside of defendant’s trousers pocket was consistent with the blood found on the knife as well as the blood on the floor of the apartment. Redmon v. Sooter (1971), 1 Ill. App. 3d 406, 412, 274 N.E.2d 200, defines a reasonable degree of medical certainty as the “general consensus of recognized medical thought and opinion con*721cerning the probabilities of conditions.” (See also Mahr v. G.D. Searle & Co. (1979), 72 Ill. App. 3d 540, 574, 390 N.E.2d 1214 (where the court stated that “an expert need not base an opinion upon absolute scientific certainty, but only upon a reasonable degree of scientific certainty”).) Although Fish testified that she could not determine with a reasonable degree of scientific certainty that the victim’s blood matched the blood found at the scene of the crime or on the knife, her testimony did establish that the blood found in the pocket of defendant’s trousers matched the latter two samples.
In addition to Fish’s testimony regarding the scientific evidence at the scene of crime, we have defendant’s own admission that he was at the victim’s apartment the day she was murdered. Defendant acknowledged that he knew the victim had been murdered but claimed that he did not report it to the police because there had been several Puerto Ricans at the scene with a shotgun, and they had threatened to shoot him if he told anyone what had happened. When a defendant elects to explain the circumstances of what has occurred, he is bound to tell a reasonable story or be judged by its improbabilities. (People v. Lester (1986), 145 Ill. App. 3d 720, 738, 495 N.E.2d 1278.) In this instance, defendant’s explanation of what he found at the victim’s apartment was not credible.
There was also evidence of defendant’s guilt presented through the testimony of several witnesses who were in the victim’s apartment building on the night of the murder. Ms. Paul, the victim’s neighbor, heard someone say “Frances” and “son.” Defendant was Frances Williams’ son. Frances Williams had worked with the victim, and defendant acknowledged that he had known the victim. Ms. Saunders, who lived on the floor below the victim’s apartment, testified that a male rang her doorbell on the night of the incident and asked for “Zek,” which was the victim’s nickname. She also stated that about 30 minutes later she heard a “thud” from the victim’s apartment which sounded like someone falling. Ms. Haynes testified that she was visiting Ms. Saunders on the night of the incident and that she saw two men in the hallway. One of the men was wearing a black jacket and cap. She stated that the cap identified as belonging to defendant looked like the one she saw on the night in question. Detective Karl testified that defendant referred to the victim as “Zekee” and admitted being in the victim’s apartment during the time period when Saunders and Haynes stated that they heard a “thud” from the victim’s apartment. Detective Pesavento testified that defendant’s girlfriend identified clothes taken from her apartment as the clothes defendant was wearing on the night of the murder. This was the same *722clothing which contained the bloodstain which was consistent with the blood taken from the knife and the crime scene. Sergeant Jones testified that when he spoke with defendant alone defendant made the statements, “I didn’t mean to do it. She was like a mother to me.” On cross-examination Jones acknowledged that he had prepared no police report which contained this statement by defendant but also testified that he had prepared no other reports regarding the case because he had not been assigned as one of the investigating officers.
We, therefore, conclude that in view of all of the aforementioned evidence of defendant’s guilt, any impropriety in the trial judge’s comments to defense counsel was not a material factor in defendant’s conviction and that it was harmless error.
Defendant cites three cases in support of his argument which are factually distinguishable from this case. In People v. Marino (1953), 414 Ill. 445, 111 N.E.2d 534, the trial judge made comments during the examination of a key witness by defense counsel which conveyed to the jury that the witness was not worthy of belief. The court also made hostile comments to defense counsel. The Marino court held that in view of the fact that the evidence was closely balanced, defendant had been prejudiced by the trial judge's improper conduct, and that it was reversible error. In People v. Santucci (1962), 24 Ill. 2d 93, 180 N.E.2d 491, defendant’s guilt or innocence was dependent on which witness the jury believed. During the trial, the judge questioned each witness thereby emphasizing testimony which pointed to the guilt of the accused or discredited the accused’s key witnesses. The trial court also displayed impatience or hostility toward defense counsel and the way he presented his case. In People v. Mays (1989), 188 Ill. App. 3d 974, 544 N.E.2d 1264, the trial judge sighed and threw down his pencil during defense counsel’s cross-examination of a key witness which conveyed to the jury the court’s sentiments regarding defendant’s theory of his case. The trial court also prematurely limited defense counsel’s closing argument. The trial judge’s improper conduct in these cases was not.limited to a negative reaction toward defense counsel. Rather, in each instance the trial judge also improperly invaded the fact-finding province of the jury in a manner that was prejudicial to defendant and potentially a material factor in his conviction. Because we have reached the opposite conclusion in the instant case, we do not find these cases controlling.
Defendant next contends that the rebuttal testimony of the fingerprint examiner was improper and prejudicial to him because it did not explain, repel, contradict or disprove evidence presented by *723defendant, and it may have led the jury to believe that he misrepresented this evidence. Rebuttal evidence is that which is presented by the prosecution to explain, repel, contradict or disprove evidence presented by the accused. (People v. Rios (1986), 145 Ill. App. 3d 571, 584, 495 N.E.2d 1103.) The decision to permit rebuttal testimony rests largely in the discretion of the trial court (People v. Andrews (1988), 172 Ill. App. 3d 394, 399, 526 N.E.2d 628; People v. Egan (1978), 65 Ill. App. 3d 501, 511, 382 N.E.2d 477), and that decision will not be reversed on appeal unless the court has abused its discretion resulting in prejudice to the defendant (Egan, 65 Ill. App. 3d at 511; People v. Thornton (1977), 54 Ill. App. 3d 202, 207, 369 N.E.2d 358). Additionally, the fact that the rebuttal evidence could have been introduced by the State in its case in chief will not render the evidence inadmissible in rebuttal. People v. Ross (1981), 100 Ill. App. 3d 1093, 1096, 427 N.E.2d 868.
In the State’s case in chief, Dennis Keating, an evidence technician with the Chicago police department, presented testimony regarding various items of physical evidence at the scene such as the bloodstains and samples taken, whether there were signs of forced entry, the condition of the apartment, the knife found at the scene and the areas of the apartment from which he took palm and fingerprints. On cross-examination, Keating stated that it was the residue of oils or water from a person’s hand which caused a fingerprint to form. On redirect, Keating testified that a person could touch an item and not leave any fingerprints depending on the surface touched, the amount of perspiration secreted, temperature and whether gloves were worn. During defendant’s case, Officer Montalbano testified that there were no palm or fingerprints belonging to defendant among the prints that were found at the scene of the crime. Then in rebuttal, the State presented the testimony of Officer Thomas Gimley, who stated that the knife found at the scene had no fingerprints on it. Therefore, when Gimley testified in rebuttal that no prints were on the knife, the evidence that an item could be touched without the formation of any prints had already been presented. Montalbano had also confirmed Keating’s previous testimony during cross-examination by the State. Because the knife had obviously been touched, Gimley’s testimony was presented to contradict or repel the inference that the absence of defendant’s prints meant he had not touched the knife. Thus, the rebuttal testimony was proper. Any argument that defendant did not open the door to this testimony is without merit where most of Keating’s testimony regarding the fingerprints was elicited during cross-examination by defense counsel and Montalbano was called as a de*724fense witness. See People v. Payne (1983), 98 Ill. 2d 45, 49, 456 N.E.2d 44.
Defendant contends that the State failed to prove him guilty of murder and robbery where there were no identification witnesses or physical evidence of defendant’s presence at the scene of the crime, and there were no signed statements by defendant admitting his quilt. When an appeals court reviews the sufficiency of evidence, “ ‘the relevant question is whether, after viewing the evidence in the light most favorable to the prosecution, any rational trier of fact could have found the essential elements of the crime beyond a reasonable doubt.’ ” (Emphasis omitted.) (People v. Young (1989), 128 Ill. 2d 1, 49, 538 N.E.2d 453, quoting Jackson v. Virginia (1979), 443 U.S. 307, 318-19, 61 L. Ed. 2d 560, 573-74, 99 S. Ct. 2781, 2788-89.) Then, “ ‘[o]nce a defendant has been found guilty of the crime charged, the factfinder’s role as the weigher of the evidence is preserved through a legal conclusion that upon judicial review all of the evidence is to be considered in the light most favorable to the prosecution.” (Emphasis in original.) (People v. Collins (1985), 106 Ill. 2d 237, 261, 478 N.E.2d 267, quoting Jackson, 443 U.S. at 319, 61 L. Ed. 2d at 573, 99 S. Ct. at 2789.) Further, discrepancies in the testimony of witnesses go to the issue of credibility, which must be judged by the trier of fact. People v. Thomas (1981), 96 Ill. App. 3d 443, 450, 421 N.E.2d 357.
Because we have previously addressed this question as part of our discussion of whether the trial judge’s improper comments were reversible error, we need not discuss it further. Pursuant to our former discussion, we conclude that the evidence was sufficient to establish defendant’s guilt beyond a reasonable doubt.
Defendant finally contends that his 40-year sentence for murder was excessive because he had no prior criminal background, or other violent behavior, had rehabilitative potential because of his young age and had showed his remorse for the victim’s death. It is recognized that, in considering the propriety of punishment, a court of review must give great weight to the judgment of the trial court. (People v. La Pointe (1981), 88 Ill. 2d 482, 492, 431 N.E.2d 344; People v. Perruquet (1977), 68 Ill. 2d 149, 153, 368 N.E.2d 882; People v. Bergman (1984), 121 Ill. App. 3d 100, 108, 458 N.E.2d 1370.) The imposition of a sentence is a matter of judicial discretion and, absent an abuse of this discretion, the sentence of the trial court may not be altered upon review. Additionally, the trial judge is normally in a better position to determine the punishment to be imposed than is a court of *725review. Perruquet, 68 Ill. 2d at 154; People v. Butler (1976), 64 Ill. 2d 485, 490, 356 N.E.2d 330.
A reasoned judgment as to the proper sentence to be imposed must be based upon the particular facts and circumstances of each individual case. (Perruquet, 68 Ill. 2d at 154.) Such a judgment depends upon many factors, including the gravity of the offense and the circumstances of commission, the defendant’s credibility, demeanor, general moral character, mentality, social environment, habits, age, and criminal history. Perruquet, 68 Ill. 2d at 154.
The sentencing judge is charged with the difficult task of fashioning a sentence which would strike the appropriate balance between protection of society and rehabilitation of the offender. (People v. Cox (1980), 82 Ill. 2d 268, 280, 412 N.E.2d 541; Bergman, 121 Ill. App. 3d at 109.) Yet, the objective of restoring the offender to useful citizenship is to be accorded no greater consideration than that.which establishes the seriousness of the offense. (People v. Waud (1977), 69 Ill. 2d 588, 596, 373 N.E.2d 1; Bergman, 121 Ill. App. 3d at 109.) The trial court is not required to detail for the record the process by which it concluded that the penalty imposed was appropriate. La Pointe, 88 Ill. 2d at 493; Bergman, 121 Ill. App. 3d at 110.
In this case, the court found that the murder was committed during the course of a forcible felony and that defendant was eligible for the death penalty. However, the court considered the absence of prior criminal activity as a mitigating factor which precluded the death penalty. The court also noted that defendant could also be sentenced to a life or an extended term of 80 years. However, the court did take into consideration defendant’s age and potential for rehabilitation in sentencing him to a term of 40 years. Therefore, we conclude that the court did consider all of the relevant factors, and its sentencing determination was proper.
Accordingly, the judgment of the circuit court is affirmed.
Affirmed.