Add sample for x format
Fix style