small changes to journal version of paper