format nicely the code