need to pull out the first element in the tuple returned from the db.