format variables