finished code style