improved docblock. freed result set. DTAP!