$sql instead of $query here