change format of code