implemented some stylistic changes suggested by reports