revised in response to referee comments