associate array param still not quite right