code style corrected