moved variables over to common.js