// moved to common.js