formatting, add more common codes