code format on partials