prepare to connect to engine