no need to pass the $mysqli object anymore