Changed query to current "style"
New PHP5 inheritance for risk class