refactor default partial