Implement Auto Format