Reformatted code and output to fit 80 chars.