Formatted accoding to K&R style.