one-step generation