esformat all the codes