prettying up the code