WICHITA, Kan. -

A Wichita man arrested with shooting his wife and two children has been officially charged.

Pettix McMillan appeared in Sedgwick County District Court via video conference Thursday. He is faced with three counts of attempted murder.

His wife and their 13-year-old son are out of the hospital after being shot Monday night. Her 5-year-old son remains hospitalized.

"God must be on their side because the way they were shot, where they were shot for them not to have anything more than just wounds," said the victim's brother Jorge Gonzalez. "It is just amazing, it could have been so much worse."

Gonzalez feels it's a miracle that his sister and nephews are doing as well as they are, especially since the boys were both shot in the head.

Their dad started to cry when the judge read the charges against him. McMillan wiped away tears as he asked the judge to explain each charge.

"What am I charged with again, murder?" Pettix McMillan asked the Judge Thursday in court.

He also appeared to have bandages on his wrists from what police said was a suicide attempt.

Gonzalez knows his sister and McMillan had issues in the past, but never expected his brother-in-law would do something like this

"He's had a troubled up bringing, so I guess she always felt that she could help him," Gonzalez said of his sister. "She saw the good in him I'm guessing."

McMillan's wife did file a protection order against him in January, but she never completed the process.

Gonzalez is very thankful for everyone's support and concern. He says his nephew's 8th grade class sent letters to the house, wishing them well. He says those letters really meant a lot to the entire family.

McMillan remains jailed on $1 millon bond. A preliminary hearing is scheduled for April 10.