added method to wrong connection class