apply K&R style consistently