prepare Methode in der Klasse Connector