change code style to K&R