cleaned up method docblock. freed query result set.