lib/basin/basin.js