small error corrected on michael advice