changed interface to connector