runs in spreadsheet app