added extra parameter handling to the connection key