Implement sequence formatting