Checked for errors in form. Added root.