added _multi_query and changed to mysqli