formating the code