Added purdyness to code