Reformatting the code based on Noah's suggestions.

Signed-off-by: Joe Buck <jbbuck@gmail.com>