updated coding style