use fetch_assoc to only get a dict