rehabilitate the defendant