added method to wrong connection class

fix to previous pull request... sorry, didn't expect it would get merged so quickly!