untested: object oriented mysqli functions