updated the connection method and am able to talk to kdb now