added generate from clipboard