Nicing up the code