sample of `blackbird.js`