moved student search to OO style