Added instantiation of $mysqli