adapted to new key=value communication