improved fetchRow() method to also take where condition array