formatting entities