ported sessions.js to use describeWd