Prettied the code a bit.