add generate
need complete about some details