changed coding style