formate code structrue