formatted the code.
corrected annotations and usage example.