simplifying generate_partial()