corrected coding style