improved style, corrected typo