format with autoformating