changed code style